package com.game.listener;

/**
 * @author : zGame
 * @version V1.0
 * @Project: game-multi-cache
 * @Package com.game.listener.redis
 * @Description: TODO
 * @date Date : 2022年02月17日 13:04
 */
public interface IPublisher<T extends AbstractMessageListener> {
    public void publish(String channel,String message);
    public void subscribe(T messageListener, String... channels);
}
